#ifndef AUDITS_H
#define AUDITS__H

#include "DbObjects.h"


typedef struct
{
    int           iID;
	int           iLevelID;
    char          sTimestamp[128];
    char          sAudituser[512];
	char          sAuditcontent[128];
	char          sAuditopt[128];
	

} band_audit_info;      
class Audits : public DbObjects
{
    public:
    Audits(Database* pDb);
	virtual ~Audits();

    virtual BaseObject* Create();
    //BaseObject* Create(quint64 uiID);

    virtual bool SQLLoad(QString sSQLCondition);
    virtual bool SQLInsert(unsigned int uiID);
    virtual bool SQLInsert(BaseObject* pObject);
	
    virtual bool SQLModify(unsigned int uiID);
    virtual bool SQLModify(BaseObject* pObject);
    virtual bool SQLDelete(unsigned int uiID) ;
    virtual bool SQLDelete(BaseObject* pObject) ;
    virtual bool SQLClear();

};
#endif